﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using XfTech.SmartTms.Enums;

namespace XfTech.SmartTms.Issues.Dtos
{
    public class IssueShowDto
    {
        /// <summary>
        /// 仓库Id
        /// </summary>
        public Guid RepositoryId { get; set; }

        /// <summary>
        /// 问题标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 问题内容
        /// </summary>
        public string Text { get; set; }

        /// <summary>
        /// 负责人Id
        /// </summary>
        public Guid AssignedUserId { get; set; }

        /// <summary>
        /// 是否关闭
        /// </summary>
        public bool IsClosed { get; set; }

        /// <summary>
        /// 是否被锁
        /// </summary>
        public bool IsLocked { get; set; }

        /// <summary>
        /// 关闭理由
        /// </summary>
        public IssueCloseReason CloseReason { get; set; }

    }
}
